# -*- coding: utf-8 -*-
"""
Spyder Editor

This is a temporary script file.
"""
import random
import matplotlib.pyplot as plt
# 导包


num = int(input("请输入想要摇骰子的次数："))
people = int(input("请输入几个人玩此游戏："))

def roll_a_die(num):    # 模拟摇骰子
    result = []
    for i in range(num):
        roll = random.randint(1,6)
        result.append(roll)
        pass
    print(result)

if __name__ == '__main__':
    for i in range(people):
        roll_a_die(num)



